package HuaRongDao;

public class MapUtil {
    public MapUtil() {
    }
    public Node[] getMap(int level){
        return MapFactory.getMap(level);
    }

    //获取关卡历史记录
    public int getRecord(int level){
        return MapFactory.getRecord(level);
    }

    //更新指定关卡记录
    public void updateRecode(int level,int record){
        MapFactory.writeRecord(level, record);
    }
}
